
export const PARAMS_NEWS = [
    {
      type: "input",
      field: "title",
      title: "新闻标题",
      value: "",
      props: {placeholder:"请输入新闻标题"}
    }, 
    {
      type:'el-button',
      field:'search',
      props:{
          type:'primary',
          icon:"el-icon-search"
      },
      children:['搜索'],
      emit: ['click'],
      emitPrefix: 'btn-search',
    },
    {
      type:'el-button',
      field:'reset',
      props:{
          type:'primary',
          icon:"el-icon-setting"
      },
      children:['重置'],
      emit: ['click'],
      emitPrefix: 'btn-reset',
    },
    {
      type:'el-button',
      field:'add',
      props:{
          type:'danger',
          icon:"el-icon-plus",
          style:"display:block"
      },
      children:['新增'],
      emit: ['click'],
      emitPrefix: 'btn-add',
    },
    {
      type:'el-button',
      field:'batchNews',
      props:{
          type:'danger',
          icon:"el-icon-delete"
      },
      children:['批量删除'],
      emit: ['click'],
      emitPrefix: 'btn-news-batch',
    }
  ]



export const LABEL_NEWS = [
  { label: "创建时间", prop: "createTime",type:"createTime" },
  { label: "", prop: "",width:"40",type:'checkbox'},
  { label: "新闻标题", prop: "title",width:'300',type:"normal"},
  { label: "新闻封面", prop: "coverImage",width:'180',type:"coverImage"},
  { label: "新闻内容", prop:'content',width:'400',type:"content"},
  { label: "状态", prop:'statusFlag',width:'100',type:"statusFlag"}
]





  export const OPTION_INLINE = {
    form: { labelWidth: "" ,inline: true,size:"small"},
    resetBtn: false,
    submitBtn: false
  }
  export const OPTION_BLOCK= {
    form: { labelWidth: "" ,size:"small"},
    row:{gutter: 20},
    resetBtn: false,
    submitBtn: false
  }



